package com.njlime.sys.entities;

import com.njlime.core.base.entities.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 角色实体
 * Created by Dean on 2017-7-18.
 */
@Entity
@Table(name = "t_user_role")
public class UserRole extends BaseEntity {
    private Integer user_id;
    private Integer role_id;

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }
}
